package com.woniuxy.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 属性
 * </p>
 *
 * @author zcx,ftl,gr,rhs
 * @since 2022-01-04
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("goods_prop")
@ApiModel(value="GoodsProp对象", description="属性")
public class GoodsProp implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "属性编号")
    @TableId(value = "goods_prop_id", type = IdType.AUTO)
    private Integer goodsPropId;

    @ApiModelProperty(value = "属性组编号")
    @TableField("goods_propgroup_id")
    private Integer goodsPropgroupId;

    @ApiModelProperty(value = "属性名称")
    @TableField("goods_prop_name")
    private String goodsPropName;

    @ApiModelProperty(value = "属性类型  1唯一属性  2单选属性   3复选属性")
    @TableField("goods_prop_class")
    private Integer goodsPropClass;

    @ApiModelProperty(value = "可选值列表")
    @TableField("goods_prop_select")
    private String goodsPropSelect;

    @ApiModelProperty(value = "删除 标识   0显示 1 隐藏  默认0")
    @TableField("goods_prop_del")
    private Integer goodsPropDel;


}
